Skip to content

Conversation

zeripath
Copy link
Contributor

@zeripath zeripath commented Jul 17, 2021

A slight race has become apparent in the TestPersistableChannelQueue.

This PR simply adds locking to prevent the race.

Related #1441

Signed-off-by: Andrew Thornton [email protected]

A slight race has become apparent in the TestPersistableChannelQueue.

This PR simply adds locking to prevent the race.

Signed-off-by: Andrew Thornton <[email protected]>
@zeripath zeripath added type/testing skip-changelog This PR is irrelevant for the (next) changelog, for example bug fixes for unreleased features. labels Jul 17, 2021
@zeripath zeripath added this to the 1.16.0 milestone Jul 17, 2021
@zeripath
Copy link
Contributor Author

attn @6543

@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Jul 17, 2021
6543 added 2 commits July 17, 2021 18:38
make print value of "$(GOTESTFLAGS)" on test-backend and unit-test-coverage
@6543
Copy link
Member

6543 commented Jul 17, 2021

-> #1441

@GiteaBot GiteaBot added lgtm/need 1 This PR needs approval from one additional maintainer to be merged. and removed lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. labels Jul 17, 2021
@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Jul 17, 2021
@6543 6543 mentioned this pull request Jul 17, 2021
@6543 6543 merged commit e83abfc into go-gitea:main Jul 17, 2021
@zeripath zeripath deleted the fix-race-in-test-persistable-channel branch July 17, 2021 19:53
AbdulrhmnGhanem pushed a commit to kitspace/gitea that referenced this pull request Aug 10, 2021
* Prevent race in TestPersistableChannelQueue

A slight race has become apparent in the TestPersistableChannelQueue.

This PR simply adds locking to prevent the race.

* make print value of "$(GOTESTFLAGS)" on test-backend and unit-test-coverage


Signed-off-by: Andrew Thornton <[email protected]>
Co-authored-by: 6543 <[email protected]>
@go-gitea go-gitea locked and limited conversation to collaborators Oct 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. skip-changelog This PR is irrelevant for the (next) changelog, for example bug fixes for unreleased features. type/testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants